using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN ConfigsEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:23/09/2010 33:09:56</para>
	/// <para>Class Name: ConfigsEntityBase</para>
	/// <para>Description: ClassConfigsEntityBase store data of table Configs</para>
	///</summary>

	[DataContract]
	public  class ConfigsEntityBase{


		private bool _InternalChangedIsNullConfigName=true;
		private bool _IsNullConfigName=true;
		private bool _InternalChangedIsNullConfigValue=true;
		private bool _IsNullConfigValue=true;
		private bool _IsNullOldConfigName=true;
		private string _ConfigName;
		private string _ConfigValue;
		private string _OldConfigName;
		[DataMember]
		public bool IsNullConfigName{
			get{return _IsNullConfigName;}
			set{if(!_InternalChangedIsNullConfigName)_IsNullConfigName=value;}
		}
		[DataMember]
		public bool IsNullConfigValue{
			get{return _IsNullConfigValue;}
			set{if(!_InternalChangedIsNullConfigValue)_IsNullConfigValue=value;}
		}
		[DataMember]
		public bool IsNullOldConfigName{
			get{return _IsNullOldConfigName;}
			set{_IsNullOldConfigName=value;}
		}
		[DataMember]
		public string ConfigName{
			get{return _ConfigName;}
			set{
				_ConfigName=value;
				if(_ConfigName!=null){
					_IsNullConfigName=false;
					_InternalChangedIsNullConfigName=true;
				}
			}
		}
		[DataMember]
		public string ConfigValue{
			get{return _ConfigValue;}
			set{
				_ConfigValue=value;
				if(_ConfigValue!=null){
					_IsNullConfigValue=false;
					_InternalChangedIsNullConfigValue=true;
				}
			}
		}
		[DataMember]
		public string OldConfigName{
			get{return _OldConfigName;}
			set{
				_OldConfigName=value;
				IsNullOldConfigName=false;
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END ConfigsEntityBase*****************************************/
	/*****************************************************************************************************/
}

